iphoneFileDataProtection
Type
function
Summary
Retrieves the data protection level of a file.
Syntax
iphoneFileDataProtection (<filename>)
Description
Use the iphoneFileDataProtection function to query the current level of protection of a particular file set using the command iphoneSetFileDataProtection.
Parameters
Name | Type | Description |
---|---|---|
filename | string | A string containing the path to the file. |
Examples
if iphoneFileDataProtection(tFile) is "none" then
iphoneSetFileDataProtection tFile, "complete"
end if
Related
command: iphoneSetFileDataProtection, iphoneSetDoNotBackupFile
function: iphoneFileDataProtection, iphoneDoNotBackupFile
message: protectedDataWillBecomeUnavailable, protectedDataDidBecomeAvailable
Compatibility and Support
Introduced
LiveCode 5.5.1
OS
ios
Platforms
mobile